{extend name="index/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">
        <div class="page-heading">
            <h1>修改友情链接</h1>
        </div>
        <form class="form-horizontal" method="post" action="{:url('admin/link/update', ['id'=> $links_id])}">
            <div class="form-group col-xs-5">
                <label>链接名称:</label>
                <input type="text" class="form-control" id="exampleInputEmail1" placeholder="linksname" name="linksname" value="{$linksname}">
            </div>
            <div class="form-group col-xs-5"  style="clear: both;">
                <label>链接地址:</label>
                <input type="text" class="form-control" id="exampleInputEmail1" placeholder="linksurl" name="linksurl" value="{$linksurl}">
            </div>
            <div class="form-group col-xs-5" style="clear: both">
                <button type="submit" class="btn btn-info btn-block">提交</button>
            </div>
        </form>
    </div>
</div>
{/block}